home *** CD-ROM | disk | FTP | other *** search
/ Clickx 31 / Clickx 31.iso / assets / software / MyServer-win32-0.8.2.exe / web / documentation / texts / basicserver.htm < prev    next >
Encoding:
Extensible Markup Language  |  2005-10-06  |  3.9 KB  |  86 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  3.   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  5. <head>
  6. <title>MyServer Documentation - Basic Server Configuration - www.myserverproject.net</title>
  7. <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  8. <meta http-equiv="Content-Style-Type" content="text/css" />
  9. <link rel="stylesheet" type="text/css" href="../style/myserver.css" />
  10. </head>
  11. <body>
  12. <table class="center" width="95%">
  13. <tr>
  14. <td class="center">
  15. <h1 class="title">BASIC SERVER CONFIGURATION</h1>
  16. In the <span class="code">myserver.xml</span> file you can set the
  17. default page for your websites
  18. hosted in MyServer.<br />
  19. <br />
  20. The lines below already exist in your configuration file:<br />
  21. <p class="code">
  22. <DEFAULT_FILENAME0>default.html</DEFAULT_FILENAME0><br />
  23.    
  24. <DEFAULT_FILENAME1>default.php</DEFAULT_FILENAME1><br />
  25.    
  26. <DEFAULT_FILENAME2>default.php3</DEFAULT_FILENAME2><br />
  27.    
  28. <DEFAULT_FILENAME3>index.html</DEFAULT_FILENAME3><br />
  29.    
  30. <DEFAULT_FILENAME4>index.php</DEFAULT_FILENAME4><br />
  31.    
  32. <DEFAULT_FILENAME5>index.php3</DEFAULT_FILENAME5><br />
  33.    
  34. <DEFAULT_FILENAME6>default.htm</DEFAULT_FILENAME6> <br />
  35. </p>
  36. <br />
  37. So, if you have a <a class="code" href="virtualhosts.html">Virtual Host</a>
  38. http://mypc.net, the page that will appear when accessing that address
  39. on the browser, will be one of the files above. You can add more lines
  40. or change any of them, if you need a different filename. The same mechanism is used for every directory and 
  41. not only with the root one.<br />
  42.  
  43. <br />
  44. <br /><br />
  45. In <a class="code" href="errorfiles.html">Errors</a> section you
  46. learned how to create and use your own error pages. But you can also
  47. disable the custom error pages, by changing the line below:<br />
  48. <span class="code"><USE_ERROR_FILE>YES</USE_ERROR_FILE><br />
  49.       </span>So, if you set the value to NO, like in the line below,<br />
  50. <span class="code"><USE_ERROR_FILE>NO</USE_ERROR_FILE><br />
  51.       </span>MyServer will (by default) just send a header to your browser with 
  52.       the error code. But you have the option to send a HTTP body included in 
  53.       the error, by adding this line:<br>
  54.       <span class="code"><ERRORS_INCLUDE_BODY>YES</ERRORS_INCLUDE_BODY></span> 
  55.       <br />
  56. <br />You can change the layout of the
  57. directory browsing page (used when you don't have a default page, as
  58. described in the <a href="browsefolder.html">Browse directory
  59. index</a> section). 
  60. The line below, in myserver.xml, points to the CSS
  61. file used to configure the layout for the browsing directory pages:<br />
  62. <span class="code"><BROWSEFOLDER_CSS>system/folderstyle.css</BROWSEFOLDER_CSS></span>
  63.  
  64.  
  65. <br />
  66.  
  67. <hr />
  68.  
  69. <br />
  70.  
  71. CGI Scripts can get the Server Administrator E-mail and show them to
  72. the user(through the <span class="code">SERVER_ADMIN</span> environment variable). So, it can be important you define this address properly, by
  73. setting the value in the line below, <span class="code">in myserver.xml</span>:<br />
  74. <span class="code"><SERVER_ADMIN>administrator@localhost</SERVER_ADMIN></span>
  75. <br />
  76. <hr />
  77. MyServer offers the feature to follow symlinks on Unix-like Operating systems (e.g.: Linux, *BSD, GNU/HURD, Solaris, etc.).<br />
  78. You can add the symlink following feature for all hosts in the myserver.xml file.<br />
  79. <span class="code"><FOLLOW_LINKS>YES</FOLLOW_LINKS></span><br /><br />
  80. The default is: <span class="code"><FOLLOW_LINKS>NO</FOLLOW_LINKS></span>
  81. This value is used by default by MyServer.
  82. </td>
  83. </tr>
  84. </table>
  85. </body>
  86. </html>